package cn.swust.designpatternlearningplatform.domain.entity;

import java.math.BigDecimal;
import java.io.Serializable;

/**
 * 题目相似表(TopicSimilar)实体类
 *
 * @author makejava
 * @since 2023-07-24 12:04:40
 */
public class TopicSimilar implements Serializable {
    private static final long serialVersionUID = 351857376902976258L;
    
    private Integer id;
    /**
     * 源id
     */
    private Integer topicidSrc;
    /**
     * 目标id
     */
    private Integer topicidTarget;
    /**
     * 相似度
     */
    private BigDecimal similar;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTopicidSrc() {
        return topicidSrc;
    }

    public void setTopicidSrc(Integer topicidSrc) {
        this.topicidSrc = topicidSrc;
    }

    public Integer getTopicidTarget() {
        return topicidTarget;
    }

    public void setTopicidTarget(Integer topicidTarget) {
        this.topicidTarget = topicidTarget;
    }

    public BigDecimal getSimilar() {
        return similar;
    }

    public void setSimilar(BigDecimal similar) {
        this.similar = similar;
    }

}

